package com.byght.bygsystem.mapper;
//持久层 主要访问数据库

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.byght.bygsystem.model.Timetable;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper//告诉它是mapper
public interface TimetableMapper extends BaseMapper<Timetable> {
    @Select("SELECT  * FROM appointment ")//找到需要的数据表
    List<Timetable> selectTimetableList();//拿出来
}
